package com.xy;

/**
 * @author 谢阳
 * @version 1.8.0_131
 * @date 2022/6/10 18:39
 * @description
 */
public abstract class AbstractHouse {

    /**
     * 打地基
     */
    public abstract void buildBasic();

    /**
     * 砌墙
     */
    public abstract void buildWall();

    /**
     * 封顶
     */
    public abstract void roofed();

    public void build() {
        buildBasic();
        buildWall();
        roofed();
    }
}
